Custom Commands
---------------------
0x200 onward are created specifically for use in RHMPatch or SpiceRack and don't exist in the original game.
---------------------
0x200 - Input detection (RHMPatch 1.3+) Does not count towards score. Detects only at the time of the tick.
0x200<0> B - Set condvar to 1 if button B is being pressed, 0 if not
0x200<1> - Set condvar to 1 if touchscreen is being tapped, 0 if not
0x200<2> B - Checks button/tap depending on Control settings
B = Button to check
0 - A
1 - B
2 - Select
3 - Start
4 - D-Pad (Right)
5 - D-Pad (Left)
6 - D-Pad (Up)
7 - D-Pad (Down)
8 - R
9 - L
10 - X
11 - Y

0x201 - Returns RHMPatch version into the condvar, as MAJOR * 0x100 + MINOR (RHMPatch 1.3+)
Example: RHMPatch v1.3 -> 0x0103

0x202 - Returns current audio language, taking Japanese language switch into account (RHMPatch 1.4+)
0 - Japanese
1 - English
2 - French (Saltwater only)
3 - German (Saltwater only)
4 - Italian (Saltwater only)
5 - Spanish (Saltwater only)
6 - Korean (Saltwater only)

0x203, 0x204 - Saltwater only, will document on release

0x205 - Save current value of condvar into the current endless game being played (RHMPatch 1.4+)
Note: only use this on endless game slots! Will behave erratically otherwise

0x206 - Saltwater only, will document on release